Remove Method (KeyValuePair)

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Removes a set of values from a given key. If all values associated with a key are removed, then the key is removed also.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public override bool Remove(
	KeyValuePair<TKey, ICollection<TValue>> pair
)
Visual Basic (Declaration)
Public Overrides Function Remove ( _
	pair As KeyValuePair(Of TKey, ICollection(Of TValue)) _
) As Boolean
Visual C++
public:
virtual bool Remove (
	KeyValuePair<TKey, ICollection<TValue>^> pair
) override

Parameters

pair
KeyValuePair<(Of <TKey, ICollection<(Of <TValue>)>>)>
A KeyValuePair contains a key and a set of values to remove from that key.

Return Value

True if at least one values was found and removed.

See Also